<?php
	$urlSlide	= Util::baseUpload('slide');
?>
<div class="banner">
<div class="top"></div>
<div class="in">
	<div id="slider">
		<?php foreach ($objSlides as $slide) :?>
		<img src="<?php echo $urlSlide;?>/<?php echo $slide->image ?>" alt="<?php echo $slide->description ?>"/>
		<?php endforeach;?>
	</div>
	<div class="shadow"></div>
</div>
<div class="bot"></div>
</div>
<div class="latest">
<h2><a>Sản phẩm</a></h2>
<p>Danh mục sản phẩm</p>
<ul>
	<?php foreach ($objCategories as $category) :?>
		<?php $linkList = Yii::app()->createUrl('product/list', array('id' => $category->id));?>
		<li><a class="category" href="<?php echo $linkList;?>"><?php echo $category->name;?></a></li>
	<?php endforeach;?>
</ul>
<a href="<?php echo Yii::app()->createUrl('product/list');?>" class="button portfolio_btn"><span><strong class="icon"><em></em></strong>Tất cả sản phẩm</span></a>
<div class="clear"></div>
</div>
<div class="clear"></div>
<div class="about_block">
<h2><a href="/?about.html">About me</a></h2>
<p>My name is <b>Andrey Fedorenko</b>, a <b>web</b> &amp; <b>UI/UX designer</b>. <br/>I <b>design
	websites</b>, <b>user interfaces</b>, <b>logos</b> and <b>icons</b>.<br/>
</p>
<a href="<?php echo Yii::app()->createUrl('contact');?>" class="button about_btn"><span><strong><em></em></strong>More about me</span></a>
</div>
<div class="blog_block">
<!-- include last blog entry (short) -->
<div class="sub-col-3">
                                    <h5>Hỗ trợ trực tuyến</h5>
                                    <a style="text-decoration: none;" href="ymsgr:sendim?eCard&amp;m=Hello">
                                        <img border="0" style="padding-bottom: 10px" src="http://opi.yahoo.com/online?u=eCard&amp;m=g&amp;t=1">
                                    </a><br>
                                    <a style="text-decoration: none;" href="ymsgr:sendim?eCard&amp;m=Hello">
                                        <img border="0" style="padding-bottom: 10px" src="http://opi.yahoo.com/online?u=eCard&amp;m=g&amp;t=1">
                                    </a><br>
                                    <span>Hotline : 0909 909 090</span>
</div>
</div>